{include file="Public:header2"/}
<body>
<div class="layui-fluid">
    <div class="layui-card">
<!--        <form method="get" class="layui-form layui-card-header layuiadmin-card-header-auto">-->
<!--            <div class="layui-form-item">-->
<!--                <div class="layui-inline">-->
<!--                    <div class="layui-input-inline" style="width: 150px;margin-left: 0px">-->
<!--                        <input type="text" name="user_id" value="{$Request.get.user_id}" placeholder="请输入UID" autocomplete="off" class="layui-input">-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="layui-inline">-->
<!--                    <div class="layui-input-inline" style="width: 150px;margin-left: 0px">-->
<!--                        <input type="text" name="mobile" value="{$Request.get.mobile}" placeholder="请输入手机号" autocomplete="off" class="layui-input">-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="layui-inline">-->
<!--                    <div class="layui-input-inline" style="width: 150px;margin-left: 0px">-->
<!--                        <input type="text" name="nickname" value="{$Request.get.nickname}" placeholder="请输入昵称" autocomplete="off" class="layui-input">-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="layui-inline" >-->
<!--                    <div class="layui-input-inline" style="width: 300px;margin-left: 0px">-->
<!--                        <input type="text" id="addtime" name="addtime" value="{$Request.get.addtime}" class="layui-input" placeholder="登录时间" autocomplete="off" >-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="layui-inline">-->
<!--                    <button class="layui-btn layuiadmin-btn-useradmin" lay-submit lay-filter="LAY-user-front-search">-->
<!--                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>-->
<!--                    </button>-->
<!--                </div>-->
<!--            </div>-->
<!--        </form>-->


        <div class="layui-card-body">
            <xblock>
                <div style="padding-bottom: 10px;">
                    <span style="line-height:40px;float:right;">共有数据： {$count}条</span>
                </div>
            </xblock>
            <table class="layui-table">
                <thead>
                <tr>
                    <th>用户信息</th>
                    <th>余额</th>
                    <th>潮币</th>
                    <th>积分</th>
                    <th>佣金</th>
                    <th>状态</th>
                    <th>时间</th>
<!--                    <th>操作</th>-->
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo"}
                <tr>
                    <td style="text-align: left">
                        <div style="display: flex;">
                            <div><img src="{:imageUrl($vo['headimg'])}" alt="" width="50px" height="50px"></div>
                            <div style="margin-left: 10px">
                                <p style="color: #e91e63;font-size: 9px">UID：{$vo['id']}</p>
                                <p style="color: #666666ba;font-size: 9px">{$vo['mobile']}</p>
                                <p style="color: #666666ba;font-size: 9px">{$vo['nickname']}</p>
                            </div>
                        </div>
                    </td>

                    <td>{$vo['money']}
<!--                        <br/><a style="text-decoration:none" name="{$vo.nickname}" onClick="chongzhi({$vo.id},this.name,1,'余额')"class="layui-btn layui-btn-danger layui-btn-xs">充值</a>-->
                    </td>
                    <td>{$vo['integral']}
<!--                        <br/><a style="text-decoration:none" name="{$vo.nickname}" onClick="chongzhi({$vo.id},this.name,2,'潮币')"class="layui-btn layui-btn-danger layui-btn-xs">充值</a>-->
                    </td>
                    <td>{$vo['score']}
<!--                        <br/><a style="text-decoration:none" name="{$vo.nickname}" onClick="chongzhi({$vo.id},this.name,3,'积分')"class="layui-btn layui-btn-danger layui-btn-xs">充值</a>-->
                    </td>
                    <td>{$vo['total']}
<!--                        <br/><a style="text-decoration:none" name="{$vo.nickname}" onClick="chongzhi({$vo.id},this.name,3,'积分')"class="layui-btn layui-btn-danger layui-btn-xs">充值</a>-->
                    </td>
                    <td>
                        {if condition="$vo['status'] eq 1"}
                        <button class="layui-btn layui-btn-success layui-btn-radius layui-btn-sm">正常</button>
                        {else /}
                        <button class="layui-btn layui-btn-danger layui-btn-radius layui-btn-sm">封号</button>
                        {/if}
                    </td>
                    <td>{$vo['addtime']|date="Y-m-d H:i:s"}</td>


                </tr>
                {/volist}
                {if condition="empty($list)"}
                <tr>
                    <td colspan='10' style="text-align:center;">暂时没有数据！</td>
                </tr>
                {/if}
                </tbody>
            </table>
            <div class="my_page layui-box layui-laypage layui-laypage-default">
                {$page|raw}
            </div>
        </div>
    </div>
</div>
{include file="Public:footer"/}
<script type="text/javascript">
    layui.use(['table', 'laydate'], function () {
        //执行一个laydate实例
        var laydate = layui.laydate;
        laydate.render({
            elem: '#addtime'
            ,type: 'datetime'
            ,range: true
        });
    });



</script>
</body>
</html>





